wayland: Fix top-most-popup check
authorJonas Ådahl <jadahl@gmail.com>
Sun, 16 Feb 2020 15:24:12 +0000 (16:24 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 19 Feb 2020 08:47:18 +0000 (09:47 +0100)
commit11dbc384abea77fba55a40bf06d4176ce19eaa3d
tree2775e28aa1d360579554b007c3ef2020267224c7
parentebd3ee98806a4e9b2e44c8363580cff8eed6ec32
wayland: Fix top-most-popup check

We can map a non-grabbing popup wherever, it's just the grabbing
popup-chain that needs to be ensured not to break any ordering rules.

Fix this by managing two lists; one of open popups, and another for
grabbing ones.
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdksurface-wayland.c